<?php
define('glue','koko');
$result = '';
function glue ($val)
{
	global $result;
	$result .= $val;
}
$array = array ('a', 'b', 'c', 'd');
array_walk ($array, glue);
echo $result;


die;

$array = array ('3' => 'a', '1b' => 'b', 'c', 'd');


var_dump($array);

echo ($array[1]);

echo "<pre>";
print_r($array);
echo "</pre>";

$array=array_reverse($array);

echo "<pre>";
print_r($array);
echo "</pre>";



//ksort()
//asort()
//krsort()
//sort()
//usort()
//
//
//$array = array ('1', '1');
//foreach ($array as $k => $v) 
//{
//	$v = 2;
//	$array[$k]=9;
//}
//
//echo "<pre>";
//print_r($array);
//echo "</pre>";


die;
echo "Index.php";
?>
		
		
		



<!DOCTYPE html PUBLIC 
	"-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
	</head>
	<body>
		<br/>
		<?php
			echo "Index.php";
		?>
	</body>
</html>